package day2;

public class Main {

    public static void main(String args[]) {

        //extend
        Mouse mouse = new Mouse("wang",12);
        mouse.eat();
        Penguin penguin = new Penguin("wyu",34);
        penguin.sleep();
        penguin.introduction();

        //implements
        new C().eat();

        //super this
        new SubClass().showMessage();


        //数组
        new ArrayTest().demo();

        System.out.println("Hello World!");
    }
}
